package cn.hadron.aa.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.hadron.aa.dao.ArticleDao;
import cn.hadron.aa.entity.Article;
import cn.hadron.aa.service.ArticleService;
import cn.hadron.aa.util.Pager;
@Service("articleService")
public class ArticleServiceImpl extends BaseServiceImpl<Article> implements ArticleService{
	@Autowired
	private ArticleDao articledao;
	@Override
	public Pager<Article> getPager(Integer channelId, Integer pageNo,Integer pageSize) {
		return articledao.findPager(channelId, pageNo, pageSize);
	}
}
